<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>display</title>
    <style>
        span{
            width:200px;
            height:200px;
            border:1px solid #000;
            display: block;
        }
        div{
            width:200px;
            height:200px;
            border:1px solid #000;
            display:inline;
        }
    </style>
</head>
<body>
    <span>床前明月光</span>
    <div>
        这是一个div
    </div>
</body>
</html>